<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GrPPI: Map pattern</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.svg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">GrPPI
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Generic and Reusable Parallel Pattern Interface</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Map pattern<div class="ingroups"><a class="el" href="group__data__patterns.html">Data parallel patterns</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="class_interface.html">Interface</a> for applyinng the <a class="el" href="md_map.html">Map pattern</a>.  
<a href="#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for Map pattern:</div>
<div class="dyncontent">
<div class="center"><img src="group__map__pattern.png" border="0" usemap="#agroup____map____pattern" alt=""/></div>
<map name="agroup____map____pattern" id="agroup____map____pattern">
<area shape="rect" href="group__data__patterns.html" title="Patterns for data parallel processing." alt="" coords="5,5,152,31"/>
<area shape="rect" title="Interface for applyinng the Map pattern." alt="" coords="200,5,291,31"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaf326a6fa32cef31ddb3379cfc042edfe"><td class="memTemplParams" colspan="2">template&lt;typename Execution , typename ... InputIterators, typename InputIt , typename OutputIt , typename Transformer , requires_iterators&lt; InputIterators... &gt;  = 0, requires_iterator&lt; InputIt &gt;  = 0, requires_iterator&lt; OutputIt &gt;  = 0&gt; </td></tr>
<tr class="memitem:gaf326a6fa32cef31ddb3379cfc042edfe"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__map__pattern.html#gaf326a6fa32cef31ddb3379cfc042edfe">grppi::map</a> (const Execution &amp;ex, std::tuple&lt; InputIterators... &gt; firsts, InputIt last, OutputIt first_out, Transformer transform_op)</td></tr>
<tr class="memdesc:gaf326a6fa32cef31ddb3379cfc042edfe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invoke <a class="el" href="md_map.html">Map pattern</a> on a data sequence.  <a href="group__map__pattern.html#gaf326a6fa32cef31ddb3379cfc042edfe">More...</a><br /></td></tr>
<tr class="separator:gaf326a6fa32cef31ddb3379cfc042edfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga22acae5389fd578c430dc069c34f0486"><td class="memTemplParams" colspan="2">template&lt;typename Execution , typename ... InputIterators, typename OutputIt , typename Transformer , requires_iterators&lt; InputIterators... &gt;  = 0, requires_iterator&lt; OutputIt &gt;  = 0&gt; </td></tr>
<tr class="memitem:ga22acae5389fd578c430dc069c34f0486"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__map__pattern.html#ga22acae5389fd578c430dc069c34f0486">grppi::map</a> (const Execution &amp;ex, std::tuple&lt; InputIterators... &gt; firsts, std::size_t range, OutputIt first_out, Transformer transformer_op)</td></tr>
<tr class="memdesc:ga22acae5389fd578c430dc069c34f0486"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invoke <a class="el" href="md_map.html">Map pattern</a> on a data sequence.  <a href="group__map__pattern.html#ga22acae5389fd578c430dc069c34f0486">More...</a><br /></td></tr>
<tr class="separator:ga22acae5389fd578c430dc069c34f0486"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6207673d89d9c8442c188fcf6410c426"><td class="memTemplParams" colspan="2">template&lt;typename Execution , typename InputIt , typename OutputIt , typename Transformer , requires_iterator&lt; InputIt &gt;  = 0, requires_iterator&lt; OutputIt &gt;  = 0&gt; </td></tr>
<tr class="memitem:ga6207673d89d9c8442c188fcf6410c426"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__map__pattern.html#ga6207673d89d9c8442c188fcf6410c426">grppi::map</a> (const Execution &amp;ex, InputIt first, InputIt last, OutputIt first_out, Transformer transform_op)</td></tr>
<tr class="memdesc:ga6207673d89d9c8442c188fcf6410c426"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invoke <a class="el" href="md_map.html">Map pattern</a> on a data sequence.  <a href="group__map__pattern.html#ga6207673d89d9c8442c188fcf6410c426">More...</a><br /></td></tr>
<tr class="separator:ga6207673d89d9c8442c188fcf6410c426"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga07e35ab62946fde683b61c811e3ee2c4"><td class="memTemplParams" colspan="2">template&lt;typename Execution , typename InputIt , typename OutputIt , typename Transformer , typename ... OtherInputIts, requires_iterator&lt; InputIt &gt;  = 0, requires_iterator&lt; OutputIt &gt;  = 0&gt; </td></tr>
<tr class="memitem:ga07e35ab62946fde683b61c811e3ee2c4"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__map__pattern.html#ga07e35ab62946fde683b61c811e3ee2c4">grppi::map</a> (const Execution &amp;ex, InputIt first, InputIt last, OutputIt first_out, Transformer transform_op, OtherInputIts ... other_firsts)</td></tr>
<tr class="memdesc:ga07e35ab62946fde683b61c811e3ee2c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invoke <a class="el" href="md_map.html">Map pattern</a> on a data sequence.  <a href="group__map__pattern.html#ga07e35ab62946fde683b61c811e3ee2c4">More...</a><br /></td></tr>
<tr class="separator:ga07e35ab62946fde683b61c811e3ee2c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p><a class="el" href="class_interface.html">Interface</a> for applyinng the <a class="el" href="md_map.html">Map pattern</a>. </p>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga6207673d89d9c8442c188fcf6410c426"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6207673d89d9c8442c188fcf6410c426">&#9670;&nbsp;</a></span>map() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Execution , typename InputIt , typename OutputIt , typename Transformer , requires_iterator&lt; InputIt &gt;  = 0, requires_iterator&lt; OutputIt &gt;  = 0&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void grppi::map </td>
          <td>(</td>
          <td class="paramtype">const Execution &amp;&#160;</td>
          <td class="paramname"><em>ex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">InputIt&#160;</td>
          <td class="paramname"><em>first</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">InputIt&#160;</td>
          <td class="paramname"><em>last</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputIt&#160;</td>
          <td class="paramname"><em>first_out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Transformer&#160;</td>
          <td class="paramname"><em>transform_op</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Invoke <a class="el" href="md_map.html">Map pattern</a> on a data sequence. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">InputIt</td><td>Iterator type used for input sequence. </td></tr>
    <tr><td class="paramname">OutputIt</td><td>Iterator type used for the output sequence. </td></tr>
    <tr><td class="paramname">Transformer</td><td>Callable type for the transformation operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ex</td><td>Execution policy object. </td></tr>
    <tr><td class="paramname">first</td><td>Iterator to the first element in the input sequence. </td></tr>
    <tr><td class="paramname">last</td><td>Iterator to one past the end of the input sequence. </td></tr>
    <tr><td class="paramname">first_out</td><td>Iterator to first element of the output sequence. </td></tr>
    <tr><td class="paramname">transform_op</td><td>Transformation operation. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga07e35ab62946fde683b61c811e3ee2c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga07e35ab62946fde683b61c811e3ee2c4">&#9670;&nbsp;</a></span>map() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Execution , typename InputIt , typename OutputIt , typename Transformer , typename ... OtherInputIts, requires_iterator&lt; InputIt &gt;  = 0, requires_iterator&lt; OutputIt &gt;  = 0&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void grppi::map </td>
          <td>(</td>
          <td class="paramtype">const Execution &amp;&#160;</td>
          <td class="paramname"><em>ex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">InputIt&#160;</td>
          <td class="paramname"><em>first</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">InputIt&#160;</td>
          <td class="paramname"><em>last</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputIt&#160;</td>
          <td class="paramname"><em>first_out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Transformer&#160;</td>
          <td class="paramname"><em>transform_op</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OtherInputIts ...&#160;</td>
          <td class="paramname"><em>other_firsts</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Invoke <a class="el" href="md_map.html">Map pattern</a> on a data sequence. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">InputIt</td><td>Iterator type used for input sequence. </td></tr>
    <tr><td class="paramname">OutputIt</td><td>Iterator type used for the output sequence. </td></tr>
    <tr><td class="paramname">Transformer</td><td>Callable type for the transformation operation. </td></tr>
    <tr><td class="paramname">OtherInputIts</td><td>Iterator types used for additional input sequences. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ex</td><td>Execution policy object. </td></tr>
    <tr><td class="paramname">first</td><td>Iterator to the first element in the input sequence. </td></tr>
    <tr><td class="paramname">last</td><td>Iterator to one past the end of the input sequence. </td></tr>
    <tr><td class="paramname">first_out</td><td>Iterator to first element of the output sequence. </td></tr>
    <tr><td class="paramname">transform_op</td><td>Transformation operation. </td></tr>
    <tr><td class="paramname">more_firsts</td><td>Additional iterators with first elements of additional sequences. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaf326a6fa32cef31ddb3379cfc042edfe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf326a6fa32cef31ddb3379cfc042edfe">&#9670;&nbsp;</a></span>map() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Execution , typename ... InputIterators, typename InputIt , typename OutputIt , typename Transformer , requires_iterators&lt; InputIterators... &gt;  = 0, requires_iterator&lt; InputIt &gt;  = 0, requires_iterator&lt; OutputIt &gt;  = 0&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void grppi::map </td>
          <td>(</td>
          <td class="paramtype">const Execution &amp;&#160;</td>
          <td class="paramname"><em>ex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::tuple&lt; InputIterators... &gt;&#160;</td>
          <td class="paramname"><em>firsts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">InputIt&#160;</td>
          <td class="paramname"><em>last</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputIt&#160;</td>
          <td class="paramname"><em>first_out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Transformer&#160;</td>
          <td class="paramname"><em>transform_op</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Invoke <a class="el" href="md_map.html">Map pattern</a> on a data sequence. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">InputIterators</td><td>Iterator types used for input sequences. </td></tr>
    <tr><td class="paramname">InputIt</td><td>Iterator type used for any input sequence. </td></tr>
    <tr><td class="paramname">OutputIt</td><td>Iterator type used for the output sequence. </td></tr>
    <tr><td class="paramname">Transformer</td><td>Callable type for the transformation operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ex</td><td>Execution policy object. </td></tr>
    <tr><td class="paramname">firsts</td><td>Tuple of Iterators to the first element in the inputs sequences. </td></tr>
    <tr><td class="paramname">last</td><td>Iterator to one past the end of one of the input sequence. </td></tr>
    <tr><td class="paramname">first_out</td><td>Iterator to first element of the output sequence. </td></tr>
    <tr><td class="paramname">transform_op</td><td>Transformation operation. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga22acae5389fd578c430dc069c34f0486"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga22acae5389fd578c430dc069c34f0486">&#9670;&nbsp;</a></span>map() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Execution , typename ... InputIterators, typename OutputIt , typename Transformer , requires_iterators&lt; InputIterators... &gt;  = 0, requires_iterator&lt; OutputIt &gt;  = 0&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void grppi::map </td>
          <td>(</td>
          <td class="paramtype">const Execution &amp;&#160;</td>
          <td class="paramname"><em>ex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::tuple&lt; InputIterators... &gt;&#160;</td>
          <td class="paramname"><em>firsts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>range</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">OutputIt&#160;</td>
          <td class="paramname"><em>first_out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Transformer&#160;</td>
          <td class="paramname"><em>transformer_op</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Invoke <a class="el" href="md_map.html">Map pattern</a> on a data sequence. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">InputIterators</td><td>Iterator types used for input sequences. </td></tr>
    <tr><td class="paramname">OutputIt</td><td>Iterator type used for the output sequence. </td></tr>
    <tr><td class="paramname">Transformer</td><td>Callable type for the transformation operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ex</td><td>Execution policy object. </td></tr>
    <tr><td class="paramname">firsts</td><td>Tuple of Iterators to the first element in the inputs sequences. </td></tr>
    <tr><td class="paramname">range</td><td>Size of the input sequences to go through. </td></tr>
    <tr><td class="paramname">first_out</td><td>Iterator to first element of the output sequence. </td></tr>
    <tr><td class="paramname">transform_op</td><td>Transformation operation. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.2
</small></address>
</body>
</html>
